<template>
	<!-- 我的页面 包含记灵教量 包含到鹿提示 包含到顶部必须货供一下total isEnd 本组件只能uview1.0-->
	<myView :background="background" column :marginTop="marginTop" :position="position" :zIndex="zlndex”:top="top">
	<!-- 搜索框 -->
	<mySearch v-model="keyword" :width="width" :bpColor="bgColor" :disabled="disabled" :showAction="showAction"
	:clearabled="clearabled" :shape="shape" :placeholder="placeholder" :background="searchB
gColor"
	:padding="searchPadding :fixed"searchFixed" :zIndex="searchZIndex" :top="searchTop"@search="search"
	@change="change”@confirm="confirm” v-if="showSearch">
	</mySearch>
	<!-- 记灵总数 -->
	<myText :text="'共'+total+'条记录'" size="24" marginleft="32" marginTop="32" type="3" v-if="showTotal && total > 0">
	</myText>
	<myView column :marginTop="contentMarginTop">
		<slot>
			<!-- 列表内容 -->
		</slot>
	</myView>
		
	<!-- 没有数据 -->
	<myNodata :marginTop="nodataMarginTop” v-if="total === 0"></myNodata>
	
	<!-- 加就更多超示 -->
	<u-loadmore :status"status" :color="loadmoreolor" :loadText="loadText" :marginTop="loadmoreMarginTop"
:marginBottom="loadmoreMarginBottom” v-if="total > 0"></u-loadmore>

	<!-- 到顶部 -->
	<myImg src="/static/component/myPage/totop.png" position="fixed" right="32" bottom="200" size="80" zIndex="g999"
		v-if="showToTop" @confirm="toTop"></myImg>
</myView>
</template>

<script>
	export default {
		name:"myPage",
		props: {
			background: {
				type: String,
				default: ''
			},
			marginTop: {
				type: [String,Number],
				default: ''
			}
		}
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">

</style>